<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<h1 align="center" style="color: #1a54e8">在线留言查看</h1>
<div>
    <span style="margin-left: 10px">
        <span style="padding-left: 0;padding-right: 0;"><img alt="" src="${user.pic==null?"/management/static/image/admin.png":user.pic}" id="myhead" style="border-radius:50%; width: 100px; height: 100px"></span>
        <span style="padding-left: 15px;padding-right: 0">
            <a href="#" style="text-align: center;display: inline-block;vertical-align: middle">
                <span style="padding: 0">${user.name}</span>
                <span style="color:#ff0066;display: block;padding: 0">
                    ${user.roleid == 3?"员工":""}
                    ${user.roleid == 1?"管理员":""}
                    ${user.roleid == 2?"项目经理":""}
                </span>
            </a>
        </span>
    </span>
</div>
<hr>

<textarea name="message" id="message"></textarea>
<input type="text" hidden value="${user.userid}" name="hid" id="hid">
<button onclick="printMess()">发布</button>


<ul id="liuyan">
    <li>留言内容：(消息内容仅保留七天)</li>
</ul>